package com.shruijin.wy.diy;


import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
public class CallResult<T> implements Serializable {

    private int code;

    private String msg;

    private T data;

    public CallResult(int code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
